<?php
/**
 * User: tridungpham
 * Date: 7/6/11
 * Time: 12:46 PM
 */
 
class TestController extends EController
{
    function index()
    {
        $this->loadLibrary('utility');
        $this->loadModel('template');
        $this->loadModel('module');
        $arrayConfig = $this->models['template']->getTemplateConfig();
        $view = $this->loadView('test',FALSE,$arrayConfig);
        $this->prepareModule($this->models['module']->getModuleSet($this->models['template']->getActiveTemplate()),$view);
//        var_dump($view);exit;
        $view->setBlock('sidebar1',NULL);
        $view->render();
    }
}